<html>
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
	<link rel="stylesheet" type="text/css" href="css/botton.css"/>
	<script type="text/javascript" src="js/jquery-1.11.0.js"></script>
	<style>
		#myimg{
			width: 70px;
			float: left;
		}
		button{
			position:  ;
		}
		#mydiv{
			float: left;
		}
	</style>
	<script type="text/javascript">
		$(document).ready(function(){
		  $("#mydiv").delegate("#myimg","dblclick",function(){
		    $(this).css('background-color','blue');
			alert($(this).index());
		  });
		  $("#mybtn").click(function(){
		    $("<div id='myimg'><img src='img/1.png' /></div>  ").appendTo("#info");
//		    $("#info").append("<div id='myimg'><img src='img/1.png' /></div>  ");
		  });
		});
	</script>
</head>
<body>
	<div id="mydiv"   >
	 	<button id="mybtn" class="button button-3d button-box button-jumbo"  ><i class="glyphicon glyphicon-thumbs-up"></i></button>
      	<p id="info">
      	</p> 
	</div> 
  </body>
</html>
